package com.onairm.baselibrary.mvp.base;

import com.onairm.baselibrary.mvp.base.MvpPresenter;
import com.onairm.baselibrary.mvp.base.MvpView;

/**
 * Created by bqy on 2018/3/27.
 * 代理模式第二重代理-》目标接口的绑定与解绑
 */

public interface MvpCallback<V extends MvpView, P extends MvpPresenter<V>> {

    P createPresenter();

    P getPresenter();

    void setPresenter(P presenter);

    V getMvpView();
}
